package com.example.mybatisplusdemo.common.convent;

import com.example.mybatisplusdemo.entity.User;
import com.example.mybatisplusdemo.vo.UserVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface UserConvent {
    UserConvent INSTANCE = Mappers.getMapper(UserConvent.class);

    //
    UserVO user2UserVO(User user);
}
